import request from '@/utils/request'
const module = '/admin/product/category'
// 查询pid的下一级分类列表
export const GetCategoriesByPid = pid => {
  return request({
    url: `${module}/listByPid/${pid}`,
    method: 'get',
  })
}
export const ExportCates = () => {
  return request({
    url: `${module}/export`,
    method: 'get',
    //responseType:表示响应数据的类型  默认json
    responseType: 'blob',
  })
}
